package com.jic.order.constant.consist;

/**
 * @author: gaolanyu
 * @date: 2020-01-25
 * @remark:
 */
public class RedisKey {
    //一个用户只有一个结算实体
    public static final String SettleEntityKey="JIC:SHOPPING:SETTLE:${userId}";

    //一个用户只有一个购物车
    public static final String ShoppingCartEntityKey="JIC:SHOPPING:CART:${userId}";

    //一个用户拥有几个子项，按商家区分
    public static final String ShoppingCartSubInfoEntityKey="JIC:SHOPPING:CART:SUB:${userId}:${shoppingCartSubInfoListKey}";
    //一个用户拥有的某一个子项里，拥有多个商品
    public static final String ShoppingCartGoodsInfoEntityKey="JIC:SHOPPING:CART:GOODS:${userId}:${shoppingCartGoodsInfoListKey}";

    //不加购物车直接结算场景的购物车key
    public static final String ShoppingDirectCartEntityKey="JIC:SHOPPING:CART:DIRECT:${userId}";

    public static final String ShoppingDirectCartSubInfoEntityKey="JIC:SHOPPING:CART:DIRECT:SUB:${userId}:${shoppingCartSubInfoListKey}";

    public static final String ShoppingDirectCartGoodsInfoEntityKey="JIC:SHOPPING:CART:DIRECT:GOODS:${userId}:${shoppingCartGoodsInfoListKey}";

    public static final String userId="userId";
    public static final String shoppingCartSubInfoListKey="shoppingCartSubInfoListKey";
    public static final String shoppingCartGoodsInfoListKey="shoppingCartGoodsInfoListKey";

    public static final String goodsNum="goodsNum";
    public static final String thirdProductCode="thirdProductCode";
    public static final String shoppingCartId="shoppingCartId";
    public static final String saleTotalAmount="saleTotalAmount";
    public static final String buyTotalAmount="buyTotalAmount";
    public static final String discountTotalAmount="discountTotalAmount";
    public static final String buyUnitPrice="buyUnitPrice";
    public static final String couponAmount="couponAmount";
    public static final String promotionId="promotionId";
    public static final String promotionType="promotionType";
    public static final String groupType="groupType";
    public static final String couponId="couponId";
    public static final String goodsId="goodsId";
    public static final String goodsName="goodsName";
    public static final String goodsUrl="goodsUrl";
    public static final String saleUnitPrice="saleUnitPrice";
    public static final String selected="selected";
    public static final String discountUnitPrice="discountUnitPrice";


    public static final String couponTotalAmount="couponTotalAmount";

    public static final String settelNum="settelNum";
    public static final String goodsIdList="goodsIdList";


    public static final String logisticsAmount="logisticsAmount";
    public static final String receiverProvinceId="receiverProvinceId";
    public static final String receiverProvinceName="receiverProvinceName";
    public static final String receiverCityId="receiverCityId";
    public static final String receiverCityName="receiverCityName";
    public static final String receiverCountryId="receiverCountryId";
    public static final String receiverRegionName="receiverRegionName";
    public static final String receiverName="receiverName";
    public static final String receiverPhone="receiverPhone";
    public static final String receiverAddress="receiverAddress";


    public static final String merchantId="merchantId";
    public static final String merchantName="merchantName";
    public static final String storeId="storeId";
    public static final String storeName="storeName";
    public static final String storeLogoUrl="storeLogoUrl";




}
